package cn.bdqn.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.entity.Comment;
import cn.bdqn.entity.CommentVO;

public interface CommentMapper {
	List<CommentVO> queryAllCommentByComplaintsId(@Param("complaintsid")Integer complaintsid);
	Integer saveComment(Comment comment);
	Integer deleteComment(@Param("commentid")Integer commentid);
	Integer deletecommentByComplaintsid(@Param("complaintsid")Integer complaintsid);
	Integer deleteCommentByUserid(@Param("userid")Integer userid);
}
